home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: philma@ix.netcom.com(Phil Majtan)
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: calling 16 bit DLL from 32-bit C/C++ program?
- Date: 20 Apr 1996 21:42:26 GMT
- Organization: Netcom
- Message-ID: <4lblo2$mge@dfw-ixnews3.ix.netcom.com>
- References: <4l4die$i7q@vixen.cso.uiuc.edu>
- NNTP-Posting-Host: det-mi4-18.ix.netcom.com
- X-NETCOM-Date: Sat Apr 20 4:42:26 PM CDT 1996
-
- In <4l4die$i7q@vixen.cso.uiuc.edu> Baogang Yao <b-yao@cs.uiuc.edu>
- writes:
- >
- >Does anybody know whether it's possible to call a 16-bit DLL from a
- >32bit C/C++ application? I am using Microsoft Visual C++4.0, and I
- >have to call a 16 bit DLL.
- >
- >Any suggestions will be helpful. Thanks in advance.
- >
- >Baogang Yao
- >b¡yao@cs.uiuc.edu
- >
-
- You might have to write code that will 'thunk' to the 16 bit DLL. It's
- a bit more involved than it's worth, though.
- The Win32s that is for Windows 3.1 is an example of this technique.
- Phil
-
-